﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace S.RBAC.Infrastructure.Migrations
{
    public partial class Upd0509_5 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Principal",
                table: "Department",
                newName: "StaffId");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "StaffId",
                table: "Department",
                newName: "Principal");
        }
    }
}
